#ifndef _XMLELEMENT_H
#define   _XMLELEMENT_H

#include <QDomText>
#include <QDomNode>
#include <QDomDocument>
#include <QString>

class XMLElement
{
public:
   virtual ~XMLElement() {}
   virtual void fromNode(const QDomNode& node) = 0; // Should initialize this element from the node.
   virtual void toXml(QDomDocument& doc, QDomNode& parent) = 0;
};
#endif   /* _XMLELEMENT_H */
